body .demo-class .layui-layer-btn .layui-layer-btn0 {
    border-color: #ca141d;
    background-color: #ca141d; } 
  img {
    vertical-align: top;
    border: none; 
  }
  em.input-info {
    display: block;
    margin-top: 5px;
    padding-left: 15px;
    color: red;
    font-size: 12px;
    font-style: normal; }
  
  header {
    color: #3a3a3a;
    min-width: 1200px;
    height: 36px;
    background-color: #2e2828; 
    .container {
      width: 1200px;
      margin: 0 auto; 
      .left{
        float: left;
        li{
          float: left;
          height: 36px;
          line-height: 36px;
          a{
            font-size: 12px;
            color: #afafaf;
            text-decoration: none;
            position: relative;
            span{
              font-size: 14px;
            }
          }
        }
        .drop-down {
          padding: 0 15px;
          margin-left: -10px;
          position: relative;
          a{
            span {
              display: inline-block;
              line-height: 36px;
              transform: rotate(-180deg); 
            } 
          }
          ol {
            display: none;
            position: absolute;
            top: 100%;
            right: 0;
            padding: 15px;
            z-index: 666;
            text-align: center;
            background-color: #fff;
            border-radius: 10px;
            border-top-right-radius: 0;
            box-shadow: 0 2px 2px #ccc; 
            li {
              width: 100%;
              a {
                text-align: center;
                color: 12px;
                white-space: nowrap; 
              } 
            }
          }
        }
      }
      .right{
        float: right;
        li{
          float: left;
          height: 36px;
          line-height: 36px;
          a{
            font-size: 12px;
            color: #afafaf;
            text-decoration: none;
            position: relative;
            span{
              font-size: 14px;
            }
          }
        }

      }
    }
  }
  header{
    .container{
      .left{
        .drop-down:hover {
          background-color: #fff; 
          a {
            color: #ca141d;
            span{
              transform: rotate(0); 
            }
          } 
          ol{
            display: block; 
            a {
              color: #777; 
            }
          }
        }  
      }
    } 
  } 
  header .container::after {
    display: block;
    content: "";
    clear: both; 
  }
  header .container .left li a::after,
  header .container .right li a::after {
    display: inline-block;
    margin: 0 10px;
    content: "";
    width: 1px;
    height: 10px;
    background-color: #666; 
  }
  header .container .left li a:hover,
  header .container .right li a:hover {
    color: #fff; 
  }

  header .container .left li:first-child,
  header .container .right li:first-child {
    padding-left: 0;
   }
  header .container .left li:last-child,
  header .container .right li:last-child {
    margin-right: 0; 
  }
  header .container .left li:last-child a::after,
  header .container .right li:last-child a::after {
    display: none;  
  }  
header .container .left .drop-down:hover ol li:hover a {
  color: #ca141d; }
  header .container .right li:nth-child(2) a::after {
    background-color: #2e2828; 
  }

  nav {
    min-width: 1200px;
    height: 74px;
    background-color: #fff; 
      .container {
        width: 1200px;
        height: 40px;
        margin: 0 auto;
        padding: 16px 0; 
        .logo {
          float: left;
          height: 90%; 
          img {
            height: 100%; 
          }
        }
        ul {
          float: left;
          margin-left: 50px;
          li {
            float: left;
            line-height: 40px;
            margin-right: 30px; 
            a {
              text-decoration: none;
              color: #333; 
            }
          }
          .active{
            a{
              color: #fff;
              background-color: #ff8486;
              border-radius: 20px;
              padding: 5px 10px;
            }
          } 
        }
        .search {
          float: right;
          width: 238px;
          height: 28px;
          border-radius: 15px;
          line-height: 28px;
          background-color: #f0f0f0;
          color: #333;
          font-size: 12px;
          border: 1px solid #ccc;
          overflow: hidden;
          position: relative; 
          input {
            padding: 0 20px;
            background-color: #f0f0f0;
            border: none;
            width: 160px;
            height: 100%;
            outline: none;
            color: #888;
            letter-spacing: 2px; 
          }
          span {
            position: absolute;
            top: 0px;
            right: 10px;
            color: #999;
            font-size: 12px; 
          }
        }
      }
    }
   
    nav .container::after {
      display: block;
      content: "";
      clear: both; }      
    nav .container > ul > li a:hover {
      color: #ca141d; }
    nav .container > ul .active a:hover {
      opacity: 0.8;
      color: #fff; 
    }
  footer {
    background-color: #f9f9f9; }
    footer .container {
      width: 1200px;
      margin: 0 auto; }
      footer .container .top {
        width: 100%;
        height: 40px;
        padding: 22px 0;
        display: flex;
        border-bottom: 1px solid #ccc; }
        footer .container .top li {
          padding-right: 120px; }
          footer .container .top li a {
            display: block;
            text-decoration: none;
            color: #3a3a3a;
            font-size: 18px;
            line-height: 40px; }
            footer .container .top li a i {
              display: inline-block;
              width: 40px;
              height: 40px;
              background-image: url("../img/icon01.svg");
              background-repeat: no-repeat;
              vertical-align: middle;
              margin-right: 10px;
              border-radius: 50%; }
          footer .container .top li:last-child {
            padding-right: 0; }
          footer .container .top li:nth-child(1) i {
            background-position: -74px 0; }
          footer .container .top li:nth-child(2) i {
            background-position: -154px 0; }
          footer .container .top li:nth-child(3) i {
            background-position: -194px 0; }
          footer .container .top li:nth-child(4) i {
            background-position: -114px 0; }
      footer .container .center {
        padding: 23px 0;
        display: flex;
        border-bottom: 1px solid #ccc; }
        footer .container .center .left {
          display: flex; }
          footer .container .center .left dl {
            width: 153px; }
            footer .container .center .left dl .title {
              color: #333;
              font-size: 14px;
              margin-bottom: 5px; }
            footer .container .center .left dl li {
              margin-top: 2px; }
              footer .container .center .left dl li a {
                color: #777;
                font-size: 12px;
                text-decoration: none; }
                footer .container .center .left dl li a:hover {
                  color: #ca141d; }
        footer .container .center .right {
          width: 280px;
          text-align: center;
          border-left: 1px solid #ccc; }
          footer .container .center .right .t1 {
            color: #575757;
            font-size: 24px;
            font-weight: bold; }
          footer .container .center .right .t2 {
            color: #575757;
            font-size: 14px;
            margin-top: 15px; }
          footer .container .center .right .t3 {
            display: inline-block;
            margin-top: 10px;
            font-size: 14px;
            background: #333;
            cursor: pointer;
            border-radius: 17px;
            overflow: hidden; }
            footer .container .center .right .t3 a {
              display: inline-block;
              width: 170px;
              height: 35px;
              line-height: 35px;
              color: #fff;
              text-decoration: none; }
              footer .container .center .right .t3 a i {
                margin-right: 7px;
                font-size: 24px;
                vertical-align: middle; }
              footer .container .center .right .t3 a:hover {
                background-color: #777; }
          footer .container .center .right .t4 {
            margin-top: 20px;
            color: #333;
            font-size: 14px;
            height: 25px; }
            footer .container .center .right .t4 i {
              margin-right: 10px;
              font-size: 20px;
              vertical-align: middle;
              cursor: pointer; }
              footer .container .center .right .t4 i:hover {
                color: #777; }
      footer .container .bottom {
        display: flex;
        padding-top: 25px;
        padding-bottom: 28px; }
        footer .container .bottom .logo-title img {
          height: 20px; }
        footer .container .bottom .center-f1 {
          margin-left: 25px;
          color: #a4a4a4;
          font-size: 12px; }
          footer .container .bottom .center-f1 a {
            display: inline-block;
            color: #777;
            font-size: 12px;
            text-decoration: none;
            margin: 3px 0; }
            footer .container .bottom .center-f1 a:hover {
              color: #ca141d; }
          footer .container .bottom .center-f1 ul {
            margin-bottom: 5px;
            display: flex; }
            footer .container .bottom .center-f1 ul li::after {
              content: "|";
              display: inline-block;
              margin: 0 5px; }
            footer .container .bottom .center-f1 ul li:last-child::after {
              display: none; }
        footer .container .bottom .footer-warrant-img {
          margin-left: 200px; 
        }
  .float-main {
    width: 80px;
    background: #fff;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: fixed;
    right: 16px;
    bottom: 30px;
    z-index: 500;
    padding-top: 8px;
    .hungBar{
      .content {
        width: 80px;
        padding-bottom: 20px; 
        .common{
          a {
            padding-top: 12px;
            width: 78px;
            height: 56px;
            display: block;
            position: relative;
            cursor: pointer; 
            text-decoration: none;
            font-size: 12px;
            i {
              color: #999;
              display: block;
              line-height: 16px;
              text-align: center;
              font-style: normal; 
            }
          }
        }
      }
    } 
  }
  .float-main .hungBar .content .common a::before {
    content: "";
    display: block;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    position: relative;
    background: url("../img/icon-common.svg") no-repeat; }
  .float-main .hungBar .content .common a.cart::before {
    background-position: 0 -32px; }
  .float-main .hungBar .content .common a.cart:hover::before {
    background-position: 0px -72px; }
  .float-main .hungBar .content .common a.top::before {
    background-position: -114px -32px; }
  .float-main .hungBar .content .common a.top:hover::before {
    background-position: -114px -72px; }

  .main {
    background-color: #fff;
    padding-bottom: 30px; }
    .main .container {
      width: 1200px;
      margin: 0 auto;
      margin-bottom: 50px; }
    .main .crumbs {
      width: 1200px;
      color: #666;
      padding-top: 16px;
      padding-bottom: 14px;
      font-size: 16px;
      line-height: 30px; }
      .main .crumbs a {
        text-decoration: none;
        font-size: 12px;
        color: #666; }
        .main .crumbs a:hover {
          color: #333; }
      .main .crumbs i {
        font-size: 14px;
        margin: 0 5px; }
      .main .crumbs span {
        font-size: 12px;
        color: #333; }
    .main .details::after {
      display: block;
      content: "";
      clear: both; }
    .main .details .img-magnif {
      width: 450px;
      float: left; }
      .main .details .img-magnif .mh_magfier {
        width: 450px;
        height: 450px;
        position: relative; }
        .main .details .img-magnif #bigArea {
          position: absolute;
          left: 420px;
          top: 50px;
          overflow: hidden;
          width: 400px;
          height: 400px;
          display: none;
          #bigImg{
            position: absolute;
            left: 0;
            top: 0;
            width: 800px;
            height: 800px;
          }
        }
        .main .details .img-magnif .mh_magfier img {
          width: 450px;
          height: 450px;
          position: absolute;
          top: 0; 
        }
        .main .details .img-magnif .mh_magfier #middleArea{
          width: 100px;
          height: 100px;
          background: rgba(100, 222, 200, 0.5);
          position: absolute;
          left: 0;
          top: 0;
          display: none; }
      .main .details .img-magnif .product-gallery-nav {
        width: 450px;
        height: 68px;
        margin-top: 18px;
        position: relative; }
        .main .details .img-magnif .product-gallery-nav .back,
        .main .details .img-magnif .product-gallery-nav .forward {
          display: flex;
          position: absolute;
          top: 0;
          width: 32px;
          height: 68px;
          text-decoration: none;
          align-items: center; }
          .main .details .img-magnif .product-gallery-nav .back i,
          .main .details .img-magnif .product-gallery-nav .forward i {
            display: inline-block;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 1px solid #ccc;
            text-align: center;
            line-height: 30px;
            color: #3a3a3a; }
        .main .details .img-magnif .product-gallery-nav .back {
          left: -13px; }
        .main .details .img-magnif .product-gallery-nav .thumbs {
          width: 370px;
          height: 68px;
          margin-left: 40px;
          overflow: hidden;
          position: relative; }
          .main .details .img-magnif .product-gallery-nav  ul {
            position: absolute;
            left:22px;
            top: 0;
            display: flex;
            transition: all 0.3s; }
            .main .details .img-magnif .product-gallery-nav ul li a {
              display: block;
              width: 66px;
              margin:0 3px;
              height: 66px;
              border: 1px solid #fff; }
              .main .details .img-magnif .product-gallery-nav  ul li a img {
                display: block;
                width: 60px;
                height: 60px;
                margin: 3px 0 0 3px; }
            .main .details .img-magnif .product-gallery-nav  ul li.current:hover{
              border: 1px solid #ca141d; }
        .main .details .img-magnif .product-gallery-nav .forward {
          right: 0; }
            // .main{
        //   .details {
        //     .img-magnif {
        //       width: 450px;
        //       float: left;
        //       .mh_magfier {
        //         width: 450px;
        //         height: 450px;
        //         position: relative; 
        //         img {
        //           width: 450px;
        //           height: 450px;
        //           position: absolute;
        //           top: 0; 
        //         }
        //       }
        //       .product-gallery-nav {
        //         width: 450px;
        //         height: 68px;
        //         margin-top: 18px;
        //         position: relative;
        //         .thumbs {
        //           width: 370px;
        //           height: 68px;
        //           margin-left: 40px;
        //           overflow: hidden;
        //           position: relative; 
        //           ul {
        //             position: absolute;
        //             left: 0;
        //             top: 0;
        //             display: flex;
        //             transition: all 0.3s; 
        //             li{
        //               display: block;
        //               width: 66px;
        //               margin:0 3px;
        //               height: 66px;
        //               border: 1px solid #fff; 
        //               a{
        //                 img {
        //                   display: block;
        //                   width: 60px;
        //                   height: 60px;
        //                   margin: 3px 0 0 3px; }
        //               }
        //             }
        //           }
        //           .back { 
        //             display: flex;
        //             position: relative;
        //             top: 0;
        //             width: 32px;
        //             height: 68px;
        //             text-decoration: none;
        //             align-items: center; 
        //             left: 0;
        //             i{
        //               display: inline-block;
        //               width: 30px;
        //               height: 30px;
        //               border-radius: 50%;
        //               border: 1px solid #ccc;
        //               text-align: center;
        //               line-height: 30px;
        //               color: #3a3a3a;
        //             }
        //           }
        //           .forward {
        //             display: flex;
        //             position: absolute;
        //             top: 0;
        //             width: 32px;
        //             height: 68px;
        //             text-decoration: none;
        //             align-items: center; 
        //             right: 0;
        //             i {
        //               display: inline-block;
        //               width: 30px;
        //               height: 30px;
        //               border-radius: 50%;
        //               border: 1px solid #ccc;
        //               text-align: center;
        //               line-height: 30px;
        //               color: #3a3a3a; 
        //             }
        //           }
        //         }
        //       }
        //     }
        //   }
        // } 
    .main .details .com-message {
      float: left;
      width: 700px;
      padding-left: 30px;
      color: #3a3a3a;
      font-size: 12px; }
      .main .details .com-message .product-meta h2 {
        width: 650px;
        font-size: 21px;
        overflow: hidden;
        margin-bottom: 10px;
        font-weight: 400; }
      .main .details .com-message .product-info {
        background: #f5f5f5;
        padding-top: 14px;
        padding-bottom: 3px; }
        .main .details .com-message .product-info .price,
        .main .details .com-message .product-info .promotion {
          padding-bottom: 4px;
          display: flex;
          align-items: center; }
          .main .details .com-message .product-info .price label,
          .main .details .com-message .product-info .promotion label {
            width: 85px;
            text-indent: 10px;
            line-height: 30px;
            letter-spacing: 2em; }
          .main .details .com-message .product-info .price .activity > div,
          .main .details .com-message .product-info .promotion .activity > div {
            margin-top: 7px; }
        .main .details .com-message .product-info .price b {
          font-weight: 400;
          color: #ca141d;
          padding-right: 3px;
          font-size: 24px; }
          .main .details .com-message .product-info .price b i {
            font-style: normal;
            font-size: 18px;
            margin-right: 4px; }
        .main .details .com-message .product-info .promotion {
          align-items: flex-start; }
          .main .details .com-message .product-info .promotion em {
            font-style: normal;
            line-height: 18px;
            height: 18px;
            border: 1px solid #ca141d;
            padding: 2px 6px;
            min-width: 24px;
            color: #ca141d;
            text-align: center;
            margin-right: 10px; }
      .main .details .com-message .pulldown,
      .main .details .com-message .description,
      .main .details .com-message .pro-skus > .dl,
      .main .details .com-message .recommend {
        padding-bottom: 4px;
        display: flex;
        align-items: center; }
        .main .details .com-message .pulldown label,
        .main .details .com-message .description label,
        .main .details .com-message .pro-skus > .dl label,
        .main .details .com-message .recommend label {
          width: 85px;
          text-indent: 10px;
          line-height: 30px; }
      .main .details .com-message .pulldown {
        margin-top: 20px; }
        .main .details .com-message .pulldown .list ul {
          display: flex;
          align-items: center; }
          .main .details .com-message .pulldown .list ul li {
            margin-right: 10px; }
            .main .details .com-message .pulldown .list ul li i {
              font-size: 14px;
              margin-right: 5px;
              vertical-align: middle; }
      .main .details .com-message .description {
        border-bottom: 1px solid #ccc; }
      .main .details .com-message .pro-skus {
        margin-top: 15px; }
        .main .details .com-message .pro-skus .dl {
          margin-bottom: 10px; }
        .main .details .com-message .pro-skus .choose-detail ul {
          display: flex;
          flex-wrap: wrap; }
          .main .details .com-message .pro-skus .choose-detail ul li {
            margin-right: 10px; }
            .main .details .com-message .pro-skus .choose-detail ul li .sku a {
              display: block;
              border: 1px solid #a4a4a4;
              text-align: center;
              height: 38px;
              border-radius: 2px;
              position: relative;
              padding: 0 12px; }
              .main .details .com-message .pro-skus .choose-detail ul li .sku a img {
                width: 30px;
                height: 30px;
                float: left;
                margin-top: 4px; }
              .main .details .com-message .pro-skus .choose-detail ul li .sku a p {
                height: 34px;
                overflow: hidden;
                float: left;
                margin-top: 3px;
                margin-left: 6px;
                color: #3a3a3a; }
                .main .details .com-message .pro-skus .choose-detail ul li .sku a p span {
                  line-height: 34px;
                  min-width: 0;
                  max-width: 86px; }
            .main .details .com-message .pro-skus .choose-detail ul li.selected a:hover{
              border: 1px solid #ca141d; }
          .main .details .com-message .pro-skus .choose-detail ul li.attr2 a,
          .main .details .com-message .pro-skus .choose-detail ul li.attr3 a {
            height: 28px; }
            .main .details .com-message .pro-skus .choose-detail ul li.attr2 a p,
            .main .details .com-message .pro-skus .choose-detail ul li.attr3 a p {
              height: 28px;
              margin: 0; }
              .main .details .com-message .pro-skus .choose-detail ul li.attr2 a p span,
              .main .details .com-message .pro-skus .choose-detail ul li.attr3 a p span {
                line-height: 28px; }
        .main .details .com-message .pro-skus .yellow {
          align-items: flex-start; }
          .main .details .com-message .pro-skus .yellow .choose-detail {
            width: 615px; }
            .main .details .com-message .pro-skus .yellow .choose-detail li {
              margin-bottom: 10px; }
      .main .details .com-message .recommend {
        align-items: flex-start; }
        .main .details .com-message .recommend label {
          letter-spacing: 2em; }
        .main .details .com-message .recommend .relation > ul {
          display: flex;
          flex-wrap: wrap;
          width: 615px; }
          .main .details .com-message .recommend .relation > ul li {
            margin-right: 10px;
            margin-bottom: 10px; }
            .main .details .com-message .recommend .relation > ul li a {
              background: #f5f5f5;
              line-height: 30px;
              padding: 0 20px;
              display: block;
              max-width: 565px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              border-radius: 2px;
              text-decoration: none;
              color: #3a3a3a; }
              .main .details .com-message .recommend .relation > ul li a:hover {
                color: #ca141d; border: 1px solid #ca141d;}
      .main .details .com-message .description-item {
        display: flex;
        align-items: center;
        margin-bottom: 10px; }
        .main .details .com-message .description-item label {
          width: 85px;
          text-indent: 10px; }
        .main .details .com-message .description-item .product-selected {
          color: #ca141d;
          width: 568px; }
      .main .details .com-message .relative {
        display: flex;
        align-items: center; }
        .main .details .com-message .relative .product-stock {
          border: 1px solid #d6d6d6;
          margin-left: 10px;
          margin-right: 10px;
          border-radius: 2px; }
          .main .details .com-message .relative .product-stock-btn {
            margin-right: -24px;
            input {
              float: left;
              width: 41px;
              height: 44px;
              line-height: 44px;
              border: 0;
              font-size: 18px;
              text-align: center;
              border-right: 1px solid #e2e2e2;
              outline: none; }
          }
          .main .details .com-message .relative .product-stock-btn p {
            width: 21px;
            float: left; 
          }
            .main .details .com-message .relative .product-stock-btn {
              .sub {
                text-decoration: none;
                // border-bottom: 1px solid #e2e2e2;
                // display: block;
                font-size: 16px;
                width: 21px;
                height: 21px;
                line-height: 22px;
                text-align: center;
                color: #777;
                font-weight: bold; 
              }
              .sup{
                @extend .sub;
                position: relative;
                top: 22px;
                left: -24px;
              }
            }
        .main .details .com-message .relative .product-button a {
          margin-right: 10px;
          display: inline-block;
          text-decoration: none;
          background: #fc600c;
          width: 172px;
          height: 46px;
          font-size: 18px;
          line-height: 46px;
          text-align: center;
          color: #fff;
          border-radius: 2px;
          border: 0;
          cursor: pointer; }
        .main .details .com-message .relative .product-button .product-button02 {
          background: #ca151d; }
.main {
  .product-tab {
    width: 100%;
    border-top: 1px solid #ccc; 
    .layout{
      width: 100%;
      margin: 0 auto;
      ul{
        padding: 36px 0 37px 0;
        text-align: center;
        font-size: 0;
        width:680px;
        margin: 0 auto;
        li {
          margin: 0 25px;
          font-size: 18px;
          padding: 0 10px 6px 10px;
          color: #a4a4a4;
          text-align: center;
          float: left;
          position: relative;
          cursor: pointer;
          text-decoration: none;
          box-sizing: border-box;
        }
      }
    }
  }
}
.main .product-tab .layout ul li:hover{
  color: #ca141c;
  border-bottom: 2px solid #ca141d;
}
.commons{
  a{  
      padding-top: 12px;
      width: 80px;
      height: 56px;
      display: block;
      position: relative;
      cursor: pointer; 
      text-decoration: none;
      font-size: 12px;
      i{
          color: #999;
          display: block;
          line-height: 16px;
          text-align: center;
          font-style: normal; 
      }
      img{
          margin: 0 auto;
          transform:rotateX(180deg);
      }
  }
}